//
//  TableViewModel.m
//  Lottery
//
//  Created by 桑赐相 on 2018/7/14.
//  Copyright © 2018年 桑赐相. All rights reserved.
//

#import "TableViewModel.h"

@implementation TableViewModel

+(NSArray *)myTableViewData{
    NSMutableArray *groups = [NSMutableArray array];
    NSMutableArray *array = [NSMutableArray array];
    TableViewModel *model = [TableViewModel new];
    model.icon = @"resume";
    model.name = @"我的简历";
    model.className = @"MyInfoController";
    [array addObject:model];
    
//    model = [TableViewModel new];
//    model.icon = @"记录";
//    model.name = @"投递记录";
//    model.className = @"AppliedJobsController";
//    [array addObject:model];
//
//    model = [TableViewModel new];
//    model.icon = @"collection";
//    model.name = @"我的收藏";
//    model.className = @"MyJobCollectionController";
//    [array addObject:model];
    [groups addObject:array];
    array = [NSMutableArray array];
    
    model = [TableViewModel new];
    model.icon = @"feedback";
    model.name = @"意见反馈";
    model.className = @"JHEditViewController";
    [array addObject:model];
    
    model = [TableViewModel new];
    model.icon = @"help";
    model.name = @"帮助中心";
    model.className = @"JHHelpViewController";
//    [array addObject:model];
    
    model = [TableViewModel new];
    model.icon = @"about";
    model.name = @"关于我们";
    model.className = @"AboutViewController";
    [array addObject:model];
    
    model = [TableViewModel new];
    model.icon = @"setting";
    model.name = @"系统设置";
    model.className = @"JHSettingController";
    [array addObject:model];
    
    
    [groups addObject:array];
    
    return groups;
}

+(NSArray *)settingTableViewData{
    NSMutableArray *array = [NSMutableArray array];
    
    TableViewModel *model = [TableViewModel new];
    model.name = @"修改密码";
    model.className = @"";
    [array addObject:model];
    
    model = [TableViewModel new];
    model.name = @"清除缓存";
    model.className = @"";
    [array addObject:model];
    
    return array;
}



@end
